
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
	<head>
		<title>TODO supply a title</title>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<script src="app/view/templates/public/js/library/jquery.js" type="text/javascript"></script>
		<script type="text/javascript">
				$(document).ready(function () {
					$('.commend button').on('click', function () {
						var $val = $(this).val();
						$.ajax({
							url: 'test.php',
							data: {"id": $val},
							success: function (data) {
								$('.rows').html(data)
							}
						});
					});
				});
		</script>
	</head>
	<body>
		<article>
			<div class="commend">
				<button value="prev">></button>
				<button value="next"><</button>
			</div>
			<div class="rows">

			</div>
		</article>
	</body>
</html>
